projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31db3cd
)
(unidata-get-decomposition): Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Tue, 21 Apr 2009 02:11:13 +0000
(
02:11
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 21 Apr 2009 02:11:13 +0000
(
02:11
+0000)
admin/unidata/unidata-gen.el
patch
|
blob
|
history
diff --git
a/admin/unidata/unidata-gen.el
b/admin/unidata/unidata-gen.el
index 7fecb999d35401cad8211676a7623c8262ef56eb..cd2343b9d0326d2ec8e4530654daaa17f71014ef 100644
(file)
--- a/
admin/unidata/unidata-gen.el
+++ b/
admin/unidata/unidata-gen.el
@@
-828,8
+828,8
@@
Property value is a character."
(L (+ #x1100 (/ char 588)))
;; V = VBase + (SIndex % NCount) * TCount
(V (+ #x1161 (/ (% char 588) 28)))
- ;; LV = SBase + (SIndex /
NCount) * N
Count
- (LV (+ #xAC00 (* (/ char
588) 58
8)))
+ ;; LV = SBase + (SIndex /
TCount) * T
Count
+ (LV (+ #xAC00 (* (/ char
28) 2
8)))
;; T = TBase + SIndex % TCount
(T (+ #x11A7 (% char 28))))
(if (= T #x11A7)